package com.authine.cloudpivot.ext.dto.kingDee.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@Schema(description = "平台核销模型")
public class KingDeePlatformWriteOff implements Serializable {

    private static final long serialVersionUID = 164476505627412725L;

    /**
     * 收款单号
     */
    @Schema(description = "收款单号")
    private String receiptId;

    /**
     * 收款时间
     */
    @Schema(description = "收款时间")
    private Date receiptTime;

    /**
     * 付款抬头
     */
    @Schema(description = "付款抬头")
    private String paymentPayable;

    /**
     * 核销总金额 -- 含税金额
     */
    @Schema(description = "核销总金额 -- 含税金额")
    private BigDecimal writeOffAmount;

    /**
     * 发票列表
     */
    @Schema(description = "发票列表")
    private List<KingDeePlatformWriteOffInvoiceDetail> kingDeePlatformWriteOffInvoiceDetailList;

    /**
     * 账套名
     */
    @Schema(description = "账套名")
    private String accountName;
}
